pandas convert all string columns to lowercase

41

df = df.applymap(lambda s:s.lower() if type(s) == str else s)

Comments

Submit
0 Comments